
#include "ProgrammeTest.h"

void ProgrammeTest::TestAnalyse(void ) {

	// Test sur un programme vide
	Programme pg1;
	std::string result = "#include <iostream>\nusing namespace std;\n\n";
	result+="int main(){ \n";
	result+="return 0; \n}";
	CPPUNIT_ASSERT(pg1.toString() == result);
}

